package dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import model.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper extends BaseMapper<UserInfo> {

    List<UserInfo> findAll();

    int insertUser(@Param("u") UserInfo u);

    int deleteUser(@Param("id") Integer id);

    int updateUser(@Param("u") UserInfo u);

}